package org.liveboardgames.agricola.domain.card;

import org.liveboardgames.agricola.model.structure.Visitor;

public class BakingImprovementCard extends ImprovementCard implements Oven {

  private Integer nbOfUses;

  private Integer foodPerUse;

  public Integer getNbOfUses() {
    return nbOfUses;
  }

  public void setNbOfUses(Integer nbOfUses) {
    this.nbOfUses = nbOfUses;
  }

  public Integer getFoodPerUse() {
    return foodPerUse;
  }

  public void setFoodPerUse(Integer foodPerUse) {
    this.foodPerUse = foodPerUse;
  }

  @Override
  public void acceptVisit(Visitor visitor) {
    visitor.visit(this);
    super.acceptVisit(visitor);
  }
}
